package cn.shopifymall.camunda717.serviceTask;

import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Service;

/**
 * @Author 孤风雪影
 * @Email gitee.com/efairy520
 * @Date 2024/5/11 17:35
 * @Version 1.0
 * Delegate expression实现：需要写Service注解
 * 需要实现JavaDelegate
 */
@Service("doRepair")
public class DoingRepairService implements JavaDelegate {
    @Override
    public void execute(DelegateExecution execution) throws Exception {
        execution.setVariable("repairManName", "王小满");
    }
}
